package com.koala.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.koala.dto.UserAuthRespVO;
import com.koala.entity.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;


/**
 * 用户持久层
 *
 * @author haoxr
 * @date 2022/1/14
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {


    /**
     * 根据用户名获取认证信息
     *
     * @param username
     * @return
     */
    UserAuthRespVO getAuthInfoByUsername(String username);

}
